Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 5 - Printing Functions for Message Overrides / Printing Functions Reference
Functions / Working With Application Imaging Options


GXGetAvailableJobFormatModes

You can use the GXGetAvailableJobFormatModes function to determine which job format modes the application supports.

OSErr GXGetAvailableJobFormatModes (
                              gxJobFormatModeTableHdl *modeTbl);
modeTbl
A pointer to a gxJobFormatModeTable structure.
function result
An error code. The value noErr indicates that the operation was successful.
DESCRIPTION
You call the GXGetAvailableJobFormatModes function to find out which of the job format modes the application supports. The application establishes these modes by calling the GXSetPreferredJobFormatMode function.

Your printer driver calls this function and you pick one of the modes that the application supports as the preferred mode for your printer driver. You then call the GXSetPreferredJobFormatMode function to establish that mode as the preference for the application.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found,
or there was not enough memory to load it.
gxPrUserAbortErrThe user has canceled printing.
SEE ALSO
You can find an example of using the GXGetAvailableJobFormatModes function in Listing 3-7 on page 3-29 in the chapter "Printer Drivers."

The gxJobFormatModeTable structure is described on page 5-14.

The GXSetPreferredJobFormatMode function is described in the next section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help